package leetcode.code1402;

import leetcode.IDebug;
import leetcode.helper.HelpDebug;

public abstract class Solution1402 implements IDebug {

	public abstract int maxSatisfaction(int[] satisfaction);

	@Override
	public void debug1() {
		String str = "[-1,-8,0,5,-9]";
		int e = 14;
		int r = this.maxSatisfaction(HelpDebug.str2array3(str));
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug2() {
		String str = "[4,3,2]";
		int e = 20;
		int r = this.maxSatisfaction(HelpDebug.str2array3(str));
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug3() {
		String str = "[-1,-4,-5]";
		int e = 0;
		int r = this.maxSatisfaction(HelpDebug.str2array3(str));
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug4() {
		String str = "[-2,5,-1,0,3,-3]";
		int e = 35;
		int r = this.maxSatisfaction(HelpDebug.str2array3(str));
		HelpDebug.compare(e, r);
	}

}
